﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Windows.Forms;
using System.IO.Ports;
using System.Threading;
using System.Text;
using ExtensionMethods;
using MLRobotic.IA.Drivers;
using MLRobotic.Simulateur._2013.Tools;

namespace MLRobotic.Simulateur
{
    static class Program
    {
        private static ComPort com = null;
        public static ComPort comPort
        {
            get
            {
                if (com == null) com = new ComPort();
                return com;
            }
        }
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            Application.Run(new frm_SimuBack());           
        }           
    }

}